$(function() {
	focusById();
});

function showErrMsg(id,msg){
	$("#"+id+"Msg").show();
	$("#" + id + "Tip").text(msg);
}

function hideMsg(id) {
	$("#"+id+"Msg").hide();
}

function focusById(){
	//select  focus 无用
	$("#school").focus(function(){
		hideMsg("school");
	});
	$("#education").focus(function(){
		hideMsg("education");
	});
	$("#enrollmentYear").focus(function(){
		hideMsg("enrollmentYear");
	});
	
	/*$("#phone").focus(function(){
		hideMsg("phone");
	});
	$("#email").focus(function(){
		hideMsg("email");
	});*/
	$("#wechat").focus(function(){
		hideMsg("wechat");
	});
	$("#intro").focus(function(){
		hideMsg("intro");
	});
	
}